package com.bcmusic.point.pojo;

import com.alibaba.fastjson.annotation.JSONType;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/****
 * @Author:admin
 * @Description:UserSignIn构建
 * @Date 2019/6/14 19:13
 *****/
@Table(name="user_sign_in")
public class UserSignIn implements Serializable{

	@Id
    @Column(name = "id")
	private Long id;//

    @Column(name = "user_number")
	private String userNumber;//

    @Column(name = "continue_days")
	private Integer continueDays;//

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	@Column(name = "update_time")
	private Date updateTime;//



	//get方法
	public Long getId() {
		return id;
	}

	//set方法
	public void setId(Long id) {
		this.id = id;
	}
	//get方法
	public String getUserNumber() {
		return userNumber;
	}

	//set方法
	public void setUserNumber(String userNumber) {
		this.userNumber = userNumber;
	}
	//get方法
	public Integer getContinueDays() {
		return continueDays;
	}

	//set方法
	public void setContinueDays(Integer continueDays) {
		this.continueDays = continueDays;
	}
	//get方法
	public Date getUpdateTime() {
		return updateTime;
	}

	//set方法
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}


}
